package cn.wolfcode.shop.service;

import cn.wolfcode.shop.vo.GoodVo;

import java.util.List;

/**
 * Created by wolfcode-lanxw
 */
public interface ISeckillGoodService {
    List<GoodVo> query();

    GoodVo getById(Long goodId);

    int reduceStock(Long goodId);

    List<GoodVo> queryCache();

    int getGoodStockById(Long goodId);
}
